package com.bw.service;

import com.bw.dao.TMovieDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class TMovieServiceIml implements TMovieService{
@Autowired
    TMovieDao tMovieDao;
    @Override
    public List<Map> sel() {
        return tMovieDao.sel();
    }

    @Override
    public List<Map> selM() {
        return tMovieDao.selM();
    }

    @Override
    public List<Map> selMH(String movieName) {
        return tMovieDao.selMH(movieName);
    }

    @Override
    public List<Map> selJ(String movieName) {
        return tMovieDao.selJ(movieName);
    }

    @Override
    public List<Map> selQ(String movieDate, String endmovieDate) {

        return tMovieDao.selQ(movieDate,endmovieDate);
    }
}
